import request from '@/utils/request'

// 查询获奖列表
export function listMycurriculmVitaeWorkAward(query) {
  return request({
    url: '/system/mycurriculmVitaeWorkAward/list',
    method: 'get',
    params: query
  })
}

// 查询获奖详细
export function getMycurriculmVitaeWorkAward(id) {
  return request({
    url: '/system/mycurriculmVitaeWorkAward/' + id,
    method: 'get'
  })
}

// 新增获奖
export function addMycurriculmVitaeWorkAward(data) {
  return request({
    url: '/system/mycurriculmVitaeWorkAward',
    method: 'post',
    data: data
  })
}

// 修改获奖
export function updateMycurriculmVitaeWorkAward(data) {
  return request({
    url: '/system/mycurriculmVitaeWorkAward',
    method: 'put',
    data: data
  })
}

// 删除获奖
export function delMycurriculmVitaeWorkAward(id) {
  return request({
    url: '/system/mycurriculmVitaeWorkAward/' + id,
    method: 'delete'
  })
}
